html,
body,
#app {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #efefef;
  background-attachment: fixed;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
}

::selection {
  color: #ffffff !important;
  background-color: #383838 !important;
  text-shadow: none !important;
}

@media (min-width: 650px) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #bbb;
  }

  ::-webkit-scrollbar-track {
    background-color: #eee;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

footer {
  font-family: 'Varela Round', "Microsoft YaHei", "Source Sans Pro", "Helvetica Neue", Menlo, Monaco, monospace, "Lucida Console", sans-serif, Helvetica, "Hiragino Sans GB", "Hiragino Sans GB W3", Source Han Sans CN Regular, WenQuanYi Micro Hei, Arial, sans-serif;
}

.m-margin-small {
  margin: 3px 10px !important;
}

.m-margin-lr {
  margin-left: 0.5em !important;
  margin-right: 0.5em !important;
}

.m-margin-top {
  margin-top: 1em !important;
}

.m-margin-top-large {
  margin-top: 1.5em !important;
}

.m-margin-bottom-big {
  margin-bottom: 3em !important;
}

.m-padding-bottom-large {
  padding-bottom: 2em !important;
}

.m-padding-left-no {
  padding-left: 0 !important;
}

.m-padded-tb-no {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.m-margin-lr-no {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.m-padded-tb-mini {
  padding-top: 0.2em !important;
  padding-bottom: 0.2em !important;
}

.m-padded-tb-small {
  padding-top: 0.5em !important;
  padding-bottom: 0.5em !important;
}

.m-padded-tb-large {
  padding-top: 2em !important;
  padding-bottom: 2em !important;
}

.m-padded-tb-big {
  padding-top: 3em !important;
  padding-bottom: 3em !important;
}

.m-padded-lr-big {
  padding-left: 2em !important;
  padding-right: 2em !important;
}

.m-right-top {
  position: absolute;
  top: 0;
  right: 0;
}

/*------shadow------*/
.m-shadow-small {
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.m-mobile-show {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .m-mobile-hide {
    display: none !important;
  }

  .m-mobile-show {
    display: block !important;
  }
}

.m-center {
  margin: auto !important;
}

.m-text-cover {
  background: #d8eefa;
  color: transparent;
}

.m-text-heimu {
  background-color: #252525;
  color: #252525;
  text-shadow: none;
  transition: color 0.3s;
}

.m-text-heimu:active, .m-text-heimu:hover {
  color: #fff
}

.m-text-thin {
  font-weight: 300 !important;
}

.m-text-500 {
  font-weight: 500 !important;
}

.m-text-spaced {
  letter-spacing: 1px !important;
}

/*-----opacity------*/
.m-opacity {
  opacity: 0.9 !important;
}

.m-opacity-mini {
  opacity: 0.8 !important;
}

.m-opacity-tiny {
  opacity: 0.6 !important;
}

.m-box {
  transition: all 0.25s ease 0s, opacity 0.6s cubic-bezier(0.5, 0, 0, 1) 0s !important;
}

.m-box:hover {
  box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.05), 0 2px 4px 0px rgba(0, 0, 0, 0.05), 0 4px 8px 0px rgba(0, 0, 0, 0.05), 0 1px 2px 0px rgba(0, 0, 0, 0.05) !important;
}

.m-box:active {
  /* box-shadow: 0 1px 2px 0px rgba(72, 219, 251, 0.3), 0 2px 4px 0px rgba(72, 219, 251, 0.3), 0 4px 8px 0px rgba(72, 219, 251, 0.3), 0 8px 16px 0px rgba(72, 219, 251, 0.3) !important; */
}

@media (max-width: 768px) {
  .m-box {
    border-radius: 0 !important;
  }
}

/*-----color-----*/
.m-black {
  color: #333 !important;
}

.m-blue {
  color: #48dbfb !important;
}

.m-scaleup {
  transition: .3s ease !important;
}

.m-scaleup:hover {
  transform: scale(1.1) !important;
}

.ribbon.label {
  max-height: 30px;
  margin-bottom: 15px !important;
  left: -46px !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.m-datetime {
  color: #5f5f5f !important;
}

.m-datetime * {
  vertical-align: middle !important;
}

.m-datetime i {
  margin-right: 3px !important;
}

.m-views {
  color: #5f5f5f !important;
}

.m-views * {
  vertical-align: middle !important;
}

.m-views i {
  margin-right: 3px !important;
}

.m-common-gray {
  color: #5f5f5f !important;
}

.m-common-gray * {
  vertical-align: middle !important;
}

.m-common-gray * * {
  vertical-align: middle !important;
}

.m-common-gray i {
  margin-right: 3px !important;
}

.m-big-fontsize p, .m-big-fontsize ul, .m-big-fontsize ol {
  font-size: 17px !important;
}

/*-----------------------Button--------------------------*/
.color-btn {
  padding: 8px 20px;
  color: #5f5f5f;
  border: 1px solid #5f5f5f;
}

.color-btn:hover {
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  background-color: black;
  color: white;
}

.ui.comments .comment .text img {
  width: 25px;
  vertical-align: bottom;
}
